/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __NOISE_PCMCONVERT_H__
#define __NOISE_PCMCONVERT_H__

namespace liba
{
namespace noise
{

// conversion between different bits&bytes/sample
void pcm_bit_convert(const void * src, int src_stride, int src_bits, int src_bytes,
						 void * dst, int dst_stride, int dst_bits, int dst_bytes, int samples);

void pcm_write_silence(void * dst, int dst_stride, int dst_bits, int dst_bytes, int samples);

} // namespace noise
} // namesapce liba
using namespace liba;


#endif // __NOISE_PCMCONVERT_H__